const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-materialized');
mongoose.connect('mongodb://localhost/xiao');
const mySchema  = new mongoose.Schema( {
    text:String,
    type:Number
});
mySchema.plugin(mongoosePaginate);
const Cate=mongoose.model('Cate',  mySchema); 
module.exports=Cate;